from keras.datasets import imdb

# 根据电影评论的文字内容将其划分为正面或负面。
(train_data, train_labels), (test_data, test_labels) = imdb.load_data(num_words=10000)
print(train_data.shape)
print(train_data[0])
print(train_labels.shape)
print(train_labels[0])
